<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<a th:href="@{/test2#a1(id=3)}" target="_blank" class="anchor">跳转到t2页面a1</a>

</body>
</html>